#include "i386/system/screen.h"

void putc16(char c) {
  __asm__(
      "push   %%ebx          \n\t"
      "xor    %%ebx, %%ebx  \n\t"
      "mov    $0x0e, %%ah   \n\t"
      "int    $0x10         \n\t"
      "pop    %%ebx"
      : 
      : "a"(c));
}

void puts16(char* str) {
  while (*str != '\0') {
    putc16(*str);
    str++;
  }
}
